package org.zjx.data.screen;

import org.zjx.data.BaseSceneBuilder;
import java.awt.*;

public class DongHaiWanSceneBuilder extends BaseSceneBuilder {

    @Override
    protected String getSceneName() {
        return "东海湾";
    }

    @Override
    protected Dimension getSceneSize() {
        return new Dimension(119, 119);
    }

    @Override
    protected void addMonsters() {

    }

    @Override
    protected void addNpcs() {
        addNpc("楚恋依", new Point(53, 81));
        addNpc("牛二", new Point(60, 48));
        addNpc("老虾", new Point(113, 88));
        addNpc("船夫", new Point(62, 19));
        addNpc("玉面公主", new Point(92, 111));
        addNpc("海盗头子", new Point(21, 18));
        addNpc("林老汉", new Point(85, 33));
    }

    @Override
    protected void addRooms() {
        // 东海湾没有房间
    }

    @Override
    protected void addTeleports() {
        // 场景传送点
        addSceneTeleport(new Point(8, 8), "建邺邺城", new Point(270, 31), new Point(1, 5));
        addSceneTeleport(new Point(98, 15), "东海海底", new Point(10, 50), new Point(99, 14));
        addSceneTeleport(new Point(81, 104), "桃源村", new Point(20, 5), new Point(78, 106));
        addSceneTeleport(new Point(8, 6), "建邺邺城", new Point(270, 31), new Point(4, 3));
        addSceneTeleport(new Point(8, 84), "建邺邺城", new Point(238, 128), new Point(5, 82));

        // NPC传送点
        addNpcTeleport("船夫", new Point(62, 19), "傲来国", new Point(160, 8), new Point(64, 20));
        addNpcTeleport("老虾", new Point(85, 32), "东海岩洞", new Point(85, 10), new Point(86, 33));
        addNpcTeleport("船夫", new Point(112, 89), "龙宫", new Point(12, 7), new Point(112, 89));
    }

    public static void main(String[] args) {
        DongHaiWanSceneBuilder builder = new DongHaiWanSceneBuilder();
        builder.execute("donghaiwan_scene.json", "东海湾");
    }
}